package edu.sctu.practice.class01.zhangwang.day2015_10_08.text08;

/**
 * Created by Z_W on 2015/10/9.
 */
public class Truck extends Vehicles {

    public float load;

    public Truck(String brand, String color, float load) {
        super(brand, color);
        this.load = load;
    }

    public void showTruck(){
        showInfo();
        System.out.println("货车载重为："+load);
    }
}
